-- GENERATED SPELL FOR [Moss Stalker] --


function spell0_1780(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1780', 30000, 1)
end

function Sorts_1780(pUnit, Event)
local choix_sorts_1780 = math.random(0, 0)
if choix_sorts_1780 == 0 then
pUnit:RegisterEvent('spell0_1780', 1, 1)
end
end

function mob1780_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1780', math.random(1500, 3000), 1)
end

function mob1780_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1780_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1780_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1780, 1, 'mob1780_Action')
RegisterUnitEvent(1780, 2, 'mob1780_Leave')
RegisterUnitEvent(1780, 3, 'mob1780_Kill')
RegisterUnitEvent(1780, 4, 'mob1780_Die')
